{"version":3,"sources":["unit_field.js"],"names":["BX","namespace","Landing","UI","Field","Unit","data","Text","apply","this","arguments","layout","classList","add","unit","createUnit","onInputHandler","onInput","input","addEventListener","onInputKeydown","bind","debounce","onInputInput","onInputInputWithoutDebounce","value","content","placeholder","items","innerText","min","max","Infinity","step","frame","selector","property","postfix","format","elements","onFrameLoad","appendChild","enableTextOnly","create","props","className","prototype","constructor","__proto__","slice","call","document","querySelectorAll","length","parseFloat","style","setValue","forEach","element","getValue","event","keyCode","preventDefault","createInput","type","fireEvent","enableEdit","BaseField","currentField","disableEdit","focus"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,uBAWbD,GAAGE,QAAQC,GAAGC,MAAMC,KAAO,SAASC,GAEnCN,GAAGE,QAAQC,GAAGC,MAAMG,KAAKC,MAAMC,KAAMC,WACrCD,KAAKE,OAAOC,UAAUC,IAAI,yBAC1BJ,KAAKK,KAAOd,GAAGE,QAAQC,GAAGC,MAAMC,KAAKU,aAErCN,KAAKO,sBAAwBV,EAAKW,UAAY,WAAaX,EAAKW,QAAU,aAC1ER,KAAKS,MAAMC,iBAAiB,UAAWV,KAAKW,eAAeC,KAAKZ,OAChEA,KAAKS,MAAMC,iBAAiB,QAASnB,GAAGsB,SAASb,KAAKc,aAAc,IAAKd,OACzEA,KAAKS,MAAMC,iBAAiB,QAASV,KAAKe,4BAA4BH,KAAKZ,OAC3EA,KAAKS,MAAMO,MAAQnB,EAAKoB,QACxBjB,KAAKS,MAAMS,YAAclB,KAAKkB,YAC9BlB,KAAKmB,MAAQtB,EAAKsB,MAClBnB,KAAKK,KAAKe,iBAAmBvB,EAAKQ,OAAS,SAAWR,EAAKQ,KAAO,GAClEL,KAAKS,MAAMY,WAAaxB,EAAKwB,MAAQ,SAAWxB,EAAKwB,IAAM,EAC3DrB,KAAKS,MAAMa,WAAazB,EAAKyB,MAAQ,SAAWzB,EAAKyB,IAAMC,SAC3DvB,KAAKS,MAAMe,YAAc3B,EAAK2B,OAAS,SAAW3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